using System;
using System.Data;
using System.Collections.Generic;
using System.ServiceModel;
using eTMS.DAO;
namespace eTMS.Services{
	/********************************BEGIN SinhVienNghiHocService****************************************/
	///<summary>
	/// <para>Author: Auto generated class by CSharp Code Generator v2.0</para>
	/// <para>Date:27/10/2011 56:03:12</para>
	/// <para>Class Name: SinhVienNghiHocService</para>
	/// <para>Description: </para>
	///</summary>

	
	public partial class SinhVienNghiHocService : ISinhVienNghiHocService{


		#region Select functions
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:27/10/2011 56:03:12</para>
		/// <para>Name: SelectOne</para>
		/// <para>Input: SinhVienNghiHoc_ID</para>
		/// <para>Output: SinhVienNghiHocEntity</para>
		///</summary>
		public SinhVienNghiHocEntity SelectOne(int SinhVienNghiHoc_ID){
			SinhVienNghiHocDAO dao = new SinhVienNghiHocDAO();
			return dao.SelectOne(SinhVienNghiHoc_ID);
		}
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:27/10/2011 56:03:12</para>
		/// <para>Name: SelectAll</para>
		/// <para>Input: </para>
		/// <para>Output: List of SinhVienNghiHocEntity</para>
		///</summary>
		public List<SinhVienNghiHocEntity> SelectAll(){
			SinhVienNghiHocDAO dao = new SinhVienNghiHocDAO();
			return dao.SelectAll();
		}
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:27/10/2011 56:03:12</para>
		/// <para>Name: SelectAllDS</para>
		/// <para>Input: </para>
		/// <para>Output: DataSet</para>
		///</summary>
		public DataSet SelectAllDS(){
			SinhVienNghiHocDAO dao = new SinhVienNghiHocDAO();
			return dao.SelectAllDS();
		}
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:27/10/2011 56:03:12</para>
		/// <para>Name: SelectAll</para>
		/// <para>Input: </para>
		/// <para>Output: List of SinhVienNghiHocEntity</para>
		///</summary>
		public List<SinhVienNghiHocEntity> SelectAllFilter(string strFilter){
			SinhVienNghiHocDAO dao = new SinhVienNghiHocDAO();
			return dao.SelectAllFilter(strFilter);
		}
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:27/10/2011 56:03:12</para>
		/// <para>Name: SelectAllDS</para>
		/// <para>Input: </para>
		/// <para>Output: DataSet</para>
		///</summary>
		public DataSet SelectAllDSFilter(string strFilter){
			SinhVienNghiHocDAO dao = new SinhVienNghiHocDAO();
			return dao.SelectAllDSFilter(strFilter);
		}
		#endregion

		#region Insert functions
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:27/10/2011 56:03:12</para>
		/// <para>Name: Save</para>
		/// <para>Input: SinhVienNghiHocEntity</para>
		/// <para>Output: return true if succeeded else return false</para>
		///</summary>
		public bool Save(SinhVienNghiHocEntity o){
			SinhVienNghiHocDAO dao = new SinhVienNghiHocDAO();
			return dao.Save(o);
		}
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:27/10/2011 56:03:12</para>
		/// <para>Name: Save</para>
		/// <para>Input: SinhVienNghiHocEntity</para>
		/// <para>Output: SinhVienNghiHocEntity</para>
		///</summary>
		public SinhVienNghiHocEntity SaveRet(SinhVienNghiHocEntity o){
			SinhVienNghiHocDAO dao = new SinhVienNghiHocDAO();
			dao.Save(o);
			return o;
		}
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:27/10/2011 56:03:12</para>
		/// <para>Name: SaveList</para>
		/// <para>Input: List of SinhVienNghiHocEntity</para>
		/// <para>Output: </para>
		///</summary>
		public void SaveList(List<SinhVienNghiHocEntity> list){
			SinhVienNghiHocDAO dao = new SinhVienNghiHocDAO();
			dao.SaveList(list);
		}
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:27/10/2011 56:03:12</para>
		/// <para>Name: SaveListRet</para>
		/// <para>Input: List of SinhVienNghiHocEntity</para>
		/// <para>Output: List of SinhVienNghiHocEntity</para>
		///</summary>
		public List<SinhVienNghiHocEntity> SaveListRet(List<SinhVienNghiHocEntity> list){
			this.SaveList(list);
			return list;
		}
		#endregion

		#region Update functions
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:27/10/2011 56:03:12</para>
		/// <para>Name: Update</para>
		/// <para>Input: SinhVienNghiHocEntity</para>
		/// <para>Output: return true if succeeded else return false</para>
		///</summary>
		public bool Update(SinhVienNghiHocEntity o){
			SinhVienNghiHocDAO dao = new SinhVienNghiHocDAO();
			return dao.Update(o);
		}
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:27/10/2011 56:03:12</para>
		/// <para>Name: UpdateList</para>
		/// <para>Input: List of SinhVienNghiHocEntity</para>
		/// <para>Output: </para>
		///</summary>
		public void UpdateList(List<SinhVienNghiHocEntity> list){
			SinhVienNghiHocDAO dao = new SinhVienNghiHocDAO();
			dao.UpdateList(list);
		}
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:27/10/2011 56:03:12</para>
		/// <para>Name: UpdateDiemDanhSinhVien_ID</para>
		/// <para>Input: NewDiemDanhSinhVien_ID,SinhVienNghiHoc_ID</para>
		/// <para>Output: return true if succeeded else return false</para>
		///</summary>
		public bool UpdateDiemDanhSinhVien_ID(int NewDiemDanhSinhVien_ID,int SinhVienNghiHoc_ID){
			SinhVienNghiHocDAO dao = new SinhVienNghiHocDAO();
			return dao.UpdateDiemDanhSinhVien_ID(NewDiemDanhSinhVien_ID,SinhVienNghiHoc_ID);
		}
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:27/10/2011 56:03:12</para>
		/// <para>Name: UpdateSinhVien_ID</para>
		/// <para>Input: NewSinhVien_ID,SinhVienNghiHoc_ID</para>
		/// <para>Output: return true if succeeded else return false</para>
		///</summary>
		public bool UpdateSinhVien_ID(int NewSinhVien_ID,int SinhVienNghiHoc_ID){
			SinhVienNghiHocDAO dao = new SinhVienNghiHocDAO();
			return dao.UpdateSinhVien_ID(NewSinhVien_ID,SinhVienNghiHoc_ID);
		}
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:27/10/2011 56:03:12</para>
		/// <para>Name: UpdateLoaiNghi</para>
		/// <para>Input: NewLoaiNghi,SinhVienNghiHoc_ID</para>
		/// <para>Output: return true if succeeded else return false</para>
		///</summary>
		public bool UpdateLoaiNghi(Byte NewLoaiNghi,int SinhVienNghiHoc_ID){
			SinhVienNghiHocDAO dao = new SinhVienNghiHocDAO();
			return dao.UpdateLoaiNghi(NewLoaiNghi,SinhVienNghiHoc_ID);
		}
		#endregion

		#region Delete functions
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:27/10/2011 56:03:12</para>
		/// <para>Name: Delete</para>
		/// <para>Input: SinhVienNghiHocEntity</para>
		/// <para>Output: return true if succeeded else return false</para>
		///</summary>
		public bool Delete(SinhVienNghiHocEntity o){
			SinhVienNghiHocDAO dao = new SinhVienNghiHocDAO();
			return dao.Delete(o);
		}
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:27/10/2011 56:03:12</para>
		/// <para>Name: DeleteByID</para>
		/// <para>Input: SinhVienNghiHoc_ID</para>
		/// <para>Output: return true if succeeded else return false</para>
		///</summary>
		public bool DeleteByID(int SinhVienNghiHoc_ID){
			SinhVienNghiHocDAO dao = new SinhVienNghiHocDAO();
			return dao.DeleteByID(SinhVienNghiHoc_ID);
		}
		#endregion

		#region Select join to DiemDanhSinhVienSinhVien functions
		#endregion

		#region Select join to DiemDanhSinhVien functions
		#endregion

		#region Select join to SinhVien functions
		#endregion

		#region Select,delete by SinhVienNghiHoc_ID functions
		#endregion

		#region Select,delete by DiemDanhSinhVien_ID functions
		#endregion

		#region Select,delete by SinhVien_ID functions
		#endregion
	}
	/*****************************************************************************************************/
	/**********************************END SinhVienNghiHocWebServiceBase*****************************************/
	/*****************************************************************************************************/
}

